import request from '@/utils/request'

// 查询股票月信息列表
export function listStockmonthinfo(query) {
  return request({
    url: '/stock/stockmonthinfo/list',
    method: 'get',
    params: query
  })
}

// 查询股票月信息详细
export function getStockmonthinfo(monthInfoId) {
  return request({
    url: '/stock/stockmonthinfo/' + monthInfoId,
    method: 'get'
  })
}

// 新增股票月信息
export function addStockmonthinfo(data) {
  return request({
    url: '/stock/stockmonthinfo',
    method: 'post',
    data: data
  })
}

// 修改股票月信息
export function updateStockmonthinfo(data) {
  return request({
    url: '/stock/stockmonthinfo',
    method: 'put',
    data: data
  })
}

// 删除股票月信息
export function delStockmonthinfo(monthInfoId) {
  return request({
    url: '/stock/stockmonthinfo/' + monthInfoId,
    method: 'delete'
  })
}
